/*
 * 作者		www.TheWk.cn.vc
 * 开发环境	Windows7 64位 MyEclipse8.6 JDK1.6.0_37
 * 开发日期	2013-10-31
 */
package common.model;

import java.util.List;
import java.util.Map;

/**
 * <hr/>
 * 
 * @author www.TheWk.cn.vc
 * @version 1.0 2013-10-31
 */
public class EasyUiTreeMenuModel extends BaseModel {

	private static final long         serialVersionUID      = 2497381232361459515L;

	public static final String        State_Closed          = "closed";
	public static final String        State_Open            = "open";

	public static final String        Attribute_Href        = "href";              // 对应网址
	public static final String        Attribute_Iniframe    = "iniframe";          // 是否用iframe加载
	public static final String        Attribute_Closable    = "closable";          // 是否关闭
	public static final String        Attribute_Refreshable = "refreshable";       // 是否可刷新
	public static final String        Attribute_Selected    = "selected";          // 是否选中
	public static final String        Attribute_Repeatable  = "repeatable";        // 是否具有重复选项卡的功能

	private String                    id;
	private String                    pid;
	private String                    state;
	private String                    text;
	private String                    iconCls;
	private Boolean                   checked;
	private Map<String, Object>       attributes;
	private List<EasyUiTreeMenuModel> children;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public Map<String, Object> getAttributes() {
		return attributes;
	}

	public void setAttributes(Map<String, Object> attributes) {
		this.attributes = attributes;
	}

	public List<EasyUiTreeMenuModel> getChildren() {
		return children;
	}

	public void setChildren(List<EasyUiTreeMenuModel> children) {
		this.children = children;
	}

}
